package com.simtop.car.pojo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.metadata.BaseRowModel;
import lombok.Data;

import java.util.Date;

/**
 * 信息来源（工商信息）
 */
@Data
public class BusinessInformation extends BaseRowModel {

    @ExcelIgnore
    private Integer businessInformationId;//编号

    @ExcelProperty(index = 0, value = "企业名称")
    private  String nameOfFirm;//企业名称

    @ExcelProperty(index = 1, value = "企业官网")
    private String firmWebsite;//企业官网

    @ExcelProperty(index = 2, value = "企业地址")
    private String firmAddress;//企业地址

    @ExcelProperty(index = 3, value = "企业简介")
    private String firmIntroduction;//企业简介

    @ExcelProperty(index = 4, value = "注册资本")
    private String registeredCapital;//注册资本

    @ExcelProperty(index = 5, value = "法定代表人")
    private String legalRepresentative;//法定代表人

    @ExcelProperty(index = 6, value = "所属行业")
    private String industryInvolved;//所属行业

    @ExcelProperty(index = 7, value = "成立日期,日期格式")
    private Date dateOfEstablishment;//成立日期

    @ExcelProperty(index = 8, value = "企业类型")
    private String typeOfEnterprise;//企业类型

    @ExcelProperty(index = 9, value = "经营范围")
    private String businessScope;//经营范围

    @ExcelProperty(index = 10, value = "采集时间,日期格式")
    private Date acquisitionTime;//采集时间

    @ExcelProperty(index = 11, value = "更新时间,日期格式")
    private Date turnoverTime;//更新时间

    @ExcelProperty(index = 12, value = "删除时间,日期格式")
    private Date deleteTime;//删除时间

    @ExcelProperty(index = 13, value = "来源（即工商）")
    private String source;//来源

    @ExcelProperty(index = 14,value ="车企简称" )
    private String carProduct;//汽车品牌

    @ColumnWidth(value = 80)
    @ExcelProperty(index = 15,value ="日期（时间）格式必须设置为yyyy-mm-dd hh:mm:ss" )
    private String dateFormat;//日期格式

    @ExcelIgnore
    private Integer informationSourceId;

    @ExcelIgnore
    private Integer userId;


}
